//定义长宽
@mixin wh($width,$height) {
     width: $width;
     height: $height;
}
//定义flex布局
@mixin  fc($type:center) {
    display: flex;
    justify-content: $type;
}

@mixin  fa($type) {
     display: flex;
     align-items: $type;
}
//绝对定位
@mixin pa($top,$left) {
   position: absolute;
   top:$top;
   left: $left; 
}
//定义字体大小,颜色,种类
@mixin fontAll($font-size,$color,$font-type) {
     color: $color;
     font-size: $font-size;
     font-family: $font-type;
}
//定义弧度
@mixin borderRadius($radius) {
    -webkit-border-radius: $radius;
    -moz-border-radius: $radius;
    -ms-border-radius: $radius;
    -o-border-radius: $radius;
    border-radius: $radius;
}